# 1. 在列表之间移动元素
unconfirmed_users = ['alice', 'brian', 'candace']
confirmed_users = []
# 验证每个用户，将没有验证的用户添加到已验证列表中
while unconfirmed_users:
    current_user = unconfirmed_users.pop()
    print('Verifying user: ' + current_user.title())
    confirmed_users.append(current_user)
# 显示所有已验证的用户
for confirmed_user in confirmed_users:
    print(confirmed_user.title())


